package com.litchi.persistence.repo;

import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.data.rest.core.annotation.RepositoryRestResource;
import org.springframework.transaction.annotation.Transactional;

import com.litchi.entity.Train;

/**
 * @author palad
 * 2016年4月29日
 */

@RepositoryRestResource(collectionResourceRel = "train", path = "train")
@Transactional
public interface TrainRepository extends PagingAndSortingRepository<Train, Long>{
}
